<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		   <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
           <meta name="author" content="Zhang Cheng">
		<title></title>
		<script src="js/vue.js" ></script>
	</head>
	<body>
		<div id="app">
			<!--
            	v-bind 只能实现数据的单项绑定
            	v-model 可以实现数据的双向绑定
            	** v-model 只能用在表单元素当中
            -->
			<h4>{{msg}}</h4>
			<input type="text" v-model="msg" style="width: 100%;"/>
		</div>
		<script>
			var app = new Vue({
				el:'#app',
				data:{
					msg:'哈哈哈',
				},
				methods:{
					
				}
			});
		</script>
	</body>
</html>